<!-- IF not S_IS_BOT -->
<tr>
	<td class="row1 genmed">
	<!-- IF not S_USER_LOGGED_IN -->
		<span class="{S_CONTENT_FLOW_END}-column"><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="{L_GUEST}" title="{L_GUEST}" /></span>
		<form method="post" action="{S_LOGIN_ACTION}">
			<label for="username">{L_USERNAME}:</label>
			<br /><input type="text" name="username" id="username" class="post" title="{L_USERNAME}" /> 
			<br /><br />
			<label for="password">{L_PASSWORD}:</label>
			<br /><input type="password" name="password" id="password" class="post" title="{L_PASSWORD}" />
			<br />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				<br /><label for="autologin"><input type="checkbox" name="autologin" id="autologin" class="post" /> {L_LOG_ME_IN}</label>
			<!-- ENDIF -->
				<br /><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" class="post" /> {L_HIDE_ME}</label>
			<br /><br />
			<input type="submit" name="login" value="{L_LOGIN}" class="btnmain" />
		</form>
		<br />
		<strong>
			&raquo; <a href="{U_REGISTER}">{L_REGISTER}</a>
			<!-- IF U_SEND_PASSWORD --><br />&raquo; <a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a><!-- ENDIF -->
			<!-- IF U_RESEND_ACTIVATION --><br />&raquo; <a href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a><!-- ENDIF -->
		</strong>
	<!-- ELSE -->
		<span class="{S_CONTENT_FLOW_END}-column">{AVATAR_IMG}</span>
		{L_WELCOME_YOU}{L_COMMA_SEPARATOR} {WELCOME_USERNAME}
		<br />{LAST_VISIT_DATE}
		<!-- IF S_DISPLAY_PM -->
			<br /><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>
			<!-- IF PRIVATE_MESSAGE_INFO_UNREAD --><br />{PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF -->
		<!-- ENDIF -->
		<br />
		<!-- IF S_DISPLAY_SEARCH -->
			<br />&bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>
			<br />&bull; <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
			<br />&bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a>
			<br />&bull; <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
		<!-- ENDIF -->
		<!-- IF U_RESTORE_PERMISSIONS -->
			<br />&bull; <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
		<!-- ENDIF -->
		<br /><br /><strong>&raquo; <a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}">{L_LOGOUT}</a></strong>
	<!-- ENDIF -->
	</td>
</tr>
<!-- ELSE -->
<tr>
	<td class="row1">&nbsp;</td>
</tr>
<!-- ENDIF -->